<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用户个人信息页面</title>
</head>
<style>

    label,input{
        margin-left: auto;
        padding: 7px;
        color: black;
    }
    input{
        background-color: #ffffff;
        border: 1px solid #000000;
        width: 250px;
        height: 10px;
    }
    /*label{*/
    /*    width: 150px;*/
    /*    height: 25px;*/
    /*}*/


    /*button[type="submit"] {*/
    /*    display: block;*/
    /*    margin-top: 1em;*/
    /*    padding: 0.5em 1em;*/
    /*    background-color: #4CAF50;*/
    /*    color: #fff;*/
    /*    border: none;*/
    /*    border-radius: 3px;*/
    /*    font-size: 1.2em;*/
    /*    cursor: pointer;*/
    /*}*/

    /*button[type="submit"]:hover {*/
    /*    background-color: #3e8e41;*/
    /*}*/

</style>
<body>

<!--<form th:action="@{/user/updateUser}" method="post">-->
    <div class="panel admin-panel">
        <div class="panel-head"><strong class="icon-reorder" style="font-size: x-large"> 用户个人信息列表</strong>
        </div>
        <br>
        <br>

        <label for="userID">I&emsp;D:</label>
        <input type="text" id="userID" name="userID" th:value="${session.account.username}" readonly="readonly" /><br>
        <br>
        <br>

        <label for="username">名称:</label>
        <input type="text" id="username" name="username" th:value="${session.account.getName()}" readonly="readonly" /><br>
        <br>
        <br>

        <label for="password">密码:</label>
        <input type="text" id="password" name="password" th:value="${session.account.password}" readonly="readonly" /><br>
        <br>
        <br>

        <label for="phone">手机:</label>
        <input type="text" id="phone" name="phone" th:value="${session.account.getPhone()}" readonly="readonly" /><br>
        <br>
        <br>

        <label for="email">邮箱:</label>
        <input type="text" id="email" name="email" th:value="${session.account.getEmail()}" readonly="readonly" /><br>
        <br>
        <br>

        <label for="address">地址:</label>
        <input type="text" id="address" name="address" th:value="${session.account.getAddress()}" readonly="readonly" /><br>
        <br>
        <br>

        <label for="balance">余额:</label>
        <input type="text" id="balance" name="balance" th:value="${session.account.getBalance()}" readonly="readonly" /><br>
        <br>
        <br>

        <label for="role">身份:</label>
        <input type="text" id="role" name="role" th:value="${session.account.role}" readonly="readonly" /><br>
        <br>
        <br>

<!--        <button type="submit" style="margin-left: 125px">保存</button>-->
    </div>


<!--</form>-->

</body>

</html>